package IC.SymbolTable;

import IC.SemanticCheckes.SemanticError;
import IC.Types.TypeTable;

public class VarSymbol extends Symbol {
	
	public VarSymbol(String symName, String myKind, String typeName, int line) throws SemanticError{
		super(symName,myKind);
		this.line = line;
		this.type = TypeTable.getType(typeName);
		this.isDefined = false;
	}
	
	// does this var declared in other scope?
	public boolean isDefined;
	public boolean isInited = true;
}
